<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="modelId" name="modelId" type="hidden" th:value="${modelScDTO.modelId}"/>
							<input id="hscoreId" name="hscoreId" type="hidden" th:value="${modelScDTO.scoreId}"/>
							<input id="modelType" name="modelType" type="hidden" th:value="${modelScDTO.modelType}"/>
							<div class="form-group">
								<label class="col-sm-3 control-label">模型名称：</label>
								<div class="col-sm-8">
									<input id="modelName" name="modelName" th:value="${modelScDTO.modelName}"
										class="form-control" type="text" required>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">模型描述：</label>
								<div class="col-sm-8">
									<input id="modelDesc" name="modelDesc" th:value="${modelScDTO.modelDesc}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
	                            <label class="col-sm-3 control-label">评分等级：</label>
	                            <div class="col-sm-8">
	                                <select data-placeholder="--选择评分等级--" name="scoreId" id="scoreId"
	                                        class="form-control chosen-select" tabindex="2" required>
	                                    <option value="">--选择评分等级--</option>
	                                </select>
	                                
	                            </div>
							</div>
							<div class="form-group">
	                            <label class="col-sm-3 control-label">用途：</label>
	                            <div class="col-sm-8">
	                                <select data-placeholder="--选择用途--" name="modelUse" id="modelUse"
	                                        class="form-control chosen-select" tabindex="2" required>
	                                    <option value="">--选择用途--</option>
	                                    <option value="信用预警" th:selected="${modelScDTO.modelUse == '信用预警'}">信用预警</option>
	                                    <option value="普通模型" th:selected="${modelScDTO.modelUse == '普通模型'}">普通模型</option>
	                                </select>
	                            </div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input type="radio"
										th:field="*{modelScDTO.delFlag}" id="delFlag" name="delFlag" value="-1" /> 禁用
									</label> <label class="radio-inline"> <input type="radio"
										th:field="*{modelScDTO.delFlag}" id="delFlag" name="delFlag" value="0" /> 正常
									</label> 
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-9 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
	<script type="text/javascript" src="/js/app/ce/model/edit.js"
		th:src="@{/js/app/ce/model/edit.js}"></script>
</body>
</html>
